package com.fanchuan.uzx;


import com.androidquery.callback.AjaxCallback;
import com.fanchuan.uzx.db.UZXDB;
import com.fanchuan.uzx.ui.utils.MobClickUtils;

import android.app.Application;

public class UZXApplication extends Application {
	
	public static boolean offerNoData = false;
	public static boolean newsNoData = false;
	public static boolean lectureNoData = false;
	
	@Override
	public void onCreate() {
		super.onCreate();
		AjaxCallback.setNetworkLimit(20);
		UZXDB.init(this);
		MobClickUtils.init(this);
	}
	
	@Override
	public void onTerminate() {
		super.onTerminate();
		UZXDB.destroy();
	}
}
